﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Notices.aspx.cs" Inherits="Enterprise.UI.Web.Modules.Notice.Notices" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="/Styles/css/main.css" />
    <link rel="stylesheet" type="text/css" href="/easyui1.2.6/themes/gray/easyui.css" />
    <link rel="stylesheet" type="text/css" href="/easyui1.2.6/themes/icon.css" />
    <link rel="stylesheet" type="text/css" href="/Styles/css/layout.css" />
    <script type="text/javascript" src="/Scripts/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/easyui1.2.6/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/easyui1.2.6/locale/easyui-lang-zh_CN.js"></script>
    <style type="text/css">
        .nTable
        {
            border-bottom: 1px dotted #ccc;
            margin-top:5px;
            margin-left: 8px;
            font-size: 12px;
        }
        .nTitle
        {
            font-size: 14px;
            color: #1E50A2;
        }
        .nTable .body
        {
            clear: both;
            font-size: 14px;
            padding: 12px 0;
            white-space: normal;
        }
        .nRemind
        {
            color: #1E50A2;
        }
    </style>
    <script type="text/javascript">
        function DelData(DeleteUrl) {
            if (confirm("您确定要删除当前记录吗?\n\n注意:删除后不能恢复!")) {
                window.location.href = DeleteUrl;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin: 3px 0 0 3px;">
        <a class="easyui-linkbutton" iconcls="icon-toolbar" plain="true" href="NewNotice.aspx?dt=<%=dt %>">
            新建备忘</a></div>
    <asp:Repeater ID="Repeater1" runat="server">
        <HeaderTemplate>
            <table cellpadding="0" cellspacing="0" class="nTable" width="98%">
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td class="nTitle">
                    <%#Eval("NTITLE") %>
                </td>
                <td align="right" style="width: 140px;">
                    [<img src="../../Manage/Common/img/icon/delete.gif" alt="删除" title="删除" onclick="DelData('Manage.aspx?Id=<%#Eval("NOTEID") %>&Cmd=Delete');" style="cursor:pointer;"/>]
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div class="body">
                        <%#Eval("NREMARK")%></div>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right" class="nRemind">
                    <%#(int)Eval("NISREMIND") == 0 ? "<span style=\"color:black;\">不提醒</span>" : "<span style=\"color:black;\">提醒人员:</span>[ "+Enterprise.Service.User.UserService.GetUserNameArray((string)Eval("NREMINDUSERS"))+" ]  <span style=\"color:black;\">提醒时间:</span>[ " + Eval("NREMINDTIME")+" ]"%>
                </td>
            </tr>
            <tr>
                <td style="height: 5px;" colspan="2">
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    </form>
</body>
</html>
